package net.ojbk.home.service.impl;

import net.ojbk.common.beans.po.TestData;
import net.ojbk.common.dao.TestDataDao;
import net.ojbk.home.service.ITestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: twobox
 * Date: 2019/3/20
 * Time: 22:05
 * Description: No Description
 */
@Service
public class TestServiceImpl implements ITestService {
    @Autowired
    private TestDataDao testDao;

    /**
     * You can get all test datas.
     *
     * @return list of test datas.
     */
    @Override
    public List<TestData> getAll() {
        return testDao.selectAll();
    }
}
